package com.mengxin.secondkill.service;

import com.mengxin.secondkill.message.req.BuyGoodsReq;
import com.mengxin.secondkill.message.req.UpdateStockReq;
import com.mengxin.secondkill.message.resp.UpdateStockResp;

/**
 * @author mengxin
 * @date 2020/12/11 17:50
 */
public interface StockService {

//    public void validGoodsStock(BuyGoodsReq req);

    public UpdateStockResp stockUpdate(UpdateStockReq req);
}
